import axios from '../../utils/reqirest'

export const login = (data) => {
    return axios({
        url:"/users/login",
        method:'post',
        data:data
    })
}
// 导航菜单
export const list = (data) => {
    return axios({
        url:"/menu",
        method:'get',
        data:data
    })
}